package personal.emailsender.shared.data;

import java.util.List;


/**
 * TODO: support more fields like attachments (but can do attachment upload in separate calls).
 */
public class EmailContent implements BaseEntity {

	private static final long serialVersionUID = -1374093026875172613L;

	private String senderEmail;
	private List<String> receiverEmails;
	private String subject;
	private String content;

	public EmailContent() {}

	public EmailContent(
			String senderEmail, List<String> receiverEmails, String subject, String content) {
		this.senderEmail = senderEmail;
		this.receiverEmails = receiverEmails;
		this.subject = subject;
		this.content = content;
	}

	public String getSenderEmail() {
		return senderEmail;
	}
	public List<String> getReceiverEmails() {
		return receiverEmails;
	}
	public String getContent() {
		return content;
	}
	public String getSubject() {
		return subject;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public void setSenderEmail(String senderEmail) {
		this.senderEmail = senderEmail;
	}

	public void setReceiverEmails(List<String> receiverEmails) {
		this.receiverEmails = receiverEmails;
	}
}
